package org.itboys.seller.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

/**
 * 商家提现记录
 */
@Entity(value = "SellerGetMoneyRecord", noClassnameStored = true)
public class SellerGetMoneyRecord extends BaseLongIdEntity {

    @Indexed
    private long centerId; //平台中心id

    @Indexed
    private long sellerId;

    private long bankCardId;  //银行卡信息

    private int money;  //提现金额

    private int status; //提现状态, 见SellerConstants

    private Integer isDeleted = 0;//逻辑删除标记 0有效 1删除

    public long getCenterId() {
        return centerId;
    }

    public void setCenterId(long centerId) {
        this.centerId = centerId;
    }

    public long getSellerId() {
        return sellerId;
    }

    public void setSellerId(long sellerId) {
        this.sellerId = sellerId;
    }

    public long getBankCardId() {
        return bankCardId;
    }

    public void setBankCardId(long bankCardId) {
        this.bankCardId = bankCardId;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
